---
page_title: "cloudflare_zone_hold Resource - Cloudflare"
subcategory: ""
description: |-
  Provides a Cloudflare Zone Hold resource that prevents adding
  the hostname to another account for use.
---

# cloudflare_zone_hold (Resource)

Provides a Cloudflare Zone Hold resource that prevents adding
the hostname to another account for use.

## Example Usage

```terraform
resource "cloudflare_zone_hold" "example" {
  zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
  hold    = true
}
```
<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `hold` (Boolean) Enablement status of the zone hold.
- `zone_id` (String) The zone identifier to target for the resource.

### Optional

- `hold_after` (String) The RFC3339 compatible timestamp when to automatically re-enable the zone hold.
- `include_subdomains` (Boolean) Whether to extend to block any subdomain of the given zone.

### Read-Only

- `id` (String) The ID of this resource.

## Import

Import is supported using the following syntax:

```shell
$ terraform import cloudflare_zone_hold.example <zone_id>
```
